Web Browser Library Object

From version 7.2, you can use the Web Browser functions to check if IE is running and execute various tab-level functions in Internet Explorer.

To see how to use these functions, see Using Web Browser Functions.

To view the functions, open Project > References > Library References > Connectivity.LibraryObjects and select Web Browser.

Function / Event

Return Value / Parameter

Description

Syntax

Activate Tab by Title

Boolean

Activates the specified tab (by title and index):

Title: Search criteria of the tab title that needs to be activated. The value can contain wild card variations ; *-any number of symbols, “?” one character.

Index: The index of the tab with the specified title. This is a 1- based index. For example, if you have two open tabs that are the same (for example, google), to activate the second “google” tab , set the Index to 2

The known issue/limitation with this function is that only visible tab buttons are supported. If you open multiple tabs in the same frame set, IE adds a scroll bar and starts hiding several tabs. Hidden tabs will not be activated.

Activate Tab by <Select Title> <Select Index>

Close All Tabs by Title

None

Closes the specified (by Title) tabs.

Close All Tabs by <Select Title>

Close Tab by Id

None

Closes the specified (by Id) tab.

Close Tab By <Id>

Execute Script on Tab by Id

None

Enables you to run a script on the specified (by Id) tab.

Execute Script on Tab by <Select Id> , <Select JavaScript>

Execute Script on Tab with Result by Id

Text

Enables you to run a script on the specified (by Id) tab and return a result.

Execute Script on Tab with Result by <Select Id> , <Select JavaScript>, <Select GlobalVarName>

Find Active Tab

Number

Finds and returns the active tab number.

Find Active Tab

Find Tab by Title

Number

Finds the tab with the specified title and returns the tab number.

Find Tab by <Select Title>

Find Tab by Url

Number

Finds the tab with the specified URL.

Find Tab by <Select Url>

Find Tabs by Title

List of Number

Finds the tabs with the specified title and returns the tab numbers.

Find Tabs by <Select Title>

Find Tabs by Url

Number

Finds the tabs with the specified URL.

Find Tabs by <Select Url>

Get Tab Title By Id

Text

Finds the tab with the specified Id and returns the tab title.

Get Table Title By <Select Id>

Get Tab URL By Id

Text

Finds the tab with the specified Id and returns the tab URL.

Get Table URL By <Select Id>

Is Web Browser Running

Boolean

Returns True if IE (Web Browser) is running.

Is Web Browser Running

Navigate to URL in Tab by Id

None

Navigates to the URL in the tab with the specified Id.

Navigate to <Select URL> in Tab by <Select Id>

Open URL in New Tab

None

Opens the URL in a new tab.

Open <Select URL> in New Tab

Open URL in New Window

None

Opens the URL in a new IE window.

Open <Select URL> in New Window

Reload Tab by Id

None

Reloads the tab with the specified Id.

Reload Tab by <Select Id>